/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.click.app.service;

import com.click.app.model.CutDetail;
import com.click.app.model.CutProcess;
import com.click.app.model.Employee;
import java.util.Date;
import java.util.List;

/**
 *
 * @author ariel
 */
public interface CutDetailManager extends GenericManager<CutDetail, Long>{ 

    public List<CutDetail> findByCutProcess(CutProcess cutProcess);
    public List<CutDetail> getAllForModel();
    public List<CutDetail> findByEmployee(Employee employee);
    public List<CutDetail> findByEmployeePeriod(Employee employee, Date initDate, Date endDate);
    public List<CutDetail> getByModel(Long idMaterial, Long idModel, Long idModelSize);
    public List<CutDetail> findByPantDesign(Long idPantDesign);
    public List<CutDetail> findByPantDesignAndLastDateAndNoCero(Long idPantDesign);
}
